home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Invisible Universe
/
Invisible Universe (1995)(Voyager)[Mac-PC].iso
/
mac
/
MOVIES
/
CREDITS.DIR
/
00004_Script_4
< prev
next >
Wrap
Text File
|
1995-11-15
|
1KB
|
55 lines
on exitFrame
global gCreditRate, gSoundIndex, gVolume
if not soundBusy(1) then
if gSoundIndex = 3 then
set gSoundIndex = 1
else
set gSoundIndex = gSoundIndex + 1
end if
sound playfile 1, getAt(["SPAZIO.AIF", "CRISIS.AIF", "STLHEART.AIF"], gSoundIndex)
set the volume of sound 1 = gVolume
-- if the machineType = 256 then
-- sound playfile 1, "spazio8s.aif"
-- else
-- sound playfile 1, "Invisible Universe CD:MEDIA:U:spazio.ima"
-- end if
end if
--
--
-- Change music
--
if the machineType <> 256 and the optionDown then sound Stop 1
if the machineType = 256 and the shiftDown and the controlDown then sound Stop 1
--
--
-- Speed up credits
--
if the shiftDown then
set gCreditRate = gCreditRate + 1
else
if gCreditRate > 1 then set gCreditRate = gCreditRate - 1
end if
--
--
-- Reverse direction
--
if the controlDown then
set the locV of sprite 2 = (the locV of sprite 2) + gCreditRate
else
set the locV of sprite 2 = (the locV of sprite 2) - gCreditRate
end if
if the bottom of sprite 2 < -10 then
fadeSoundChan(1)
endCredits
end if
go to the frame
end